package com.zhijian.medical.entity.vo.response;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 医疗设备 回显vo
 *
 * @author HCG
 * @version 1.0
 * @date 2022-01-01 15:37:21
 */
@Data
@Api(tags = "有害气体回显vo")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class HarmfulVo implements Serializable {

    private static final long serialVersionUID = -1;
    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id", hidden = true)
    private Long id;


    /**
     * 设备ID
     */
    @ApiModelProperty(value = "设备ID", hidden = true)
    private String deviceId;

    /**
     * 设备名称
     */
    @ApiModelProperty(value = "设备名称", hidden = true)
    private String deviceName;

    /**
     * 探测器标号
     */
    @ApiModelProperty(value = "探测器标号", hidden = true)
    private int flag;

    /**
     * 气体浓度
     */
    @ApiModelProperty(value = "气体浓度", hidden = true)
    private String gasValue;

    /**
     * 气体状态0：预热
     1：正常
     2:标定错误
     3:传感器故障
     4:预警
     5:一级报警
     6:二级报警
     7:故障
     8:禁止使用
     */
    @ApiModelProperty(value = "气体状态0：预热\n" +
            "1：正常\n" +
            "2:标定错误\n" +
            "3:传感器故障\n" +
            "4:预警\n" +
            "5:一级报警\n" +
            "6:二级报警\n" +
            "7:故障\n" +
            "8:禁止使用", hidden = true)
    private int gasStatus;

    /**
     * 气体类型
     */
    @ApiModelProperty(value = "气体类型", hidden = true)
    private int gasType;


    /**
     * 气体单位1：%LEL
     2：%VOL
     3:PPM
     4:umol/mol
     5:mg/m3
     6:ug/m3
     7:℃
     8:%
     9:%RH
     */
    @ApiModelProperty(value = "气体单位1：%LEL\n" +
            "2：%VOL\n" +
            "3:PPM\n" +
            "4:umol/mol\n" +
            "5:mg/m3\n" +
            "6:ug/m3\n" +
            "7:℃\n" +
            "8:%\n" +
            "9:%RH", hidden = true)
    private int gasUnit;


    /**
     * 二级报警值
     */
    @ApiModelProperty(value = "二级报警值", hidden = true)
    private int alarmh;


    /**
     * 探测器量程
     */
    @ApiModelProperty(value = "探测器量程", hidden = true)
    private int gasRange;
    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private String createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")
    private String updateTime;
}